//
//  PainterView.h
//  ChartRefactor
//
//  Created by CaoJun on 15/3/11.
//  Copyright (c) 2015年 CaoJun. All rights reserved.
//

#import "YTXConfig.h"
#import "YTXChartStyle.h"

#import "PainterBase.h"

#import <UIKit/UIKit.h>


@interface PainterView : UIView

@property (nonatomic, assign) ytx::ViewModelIndexPosition * indexPosition;
@property (nonatomic, assign) ytx::Quotation * data;
@property (nonatomic, strong) PainterBase * painter;

- (BOOL)hasData;

- (void)paint:(ytx::ViewModelIndexPosition *)viewModel withPainter:(PainterBase *) painter;
- (void)paint;

- (void)clear;

@end
